package ar.com.photo_admin.domain

class Album extends DomainObject {

	String name
		

	Event event
	
	Set photos

	static belongsTo = [Event]
	
	static hasMany = [photos : Photo]

	static constraints = {
		name(blank:false)
		
		event(nullable:true)
	}
}
